package com.slipper.sfts.api.order.bo;

import com.slipper.common.bo.CommonBO;

import java.math.BigDecimal;

/**
 * 下单信息表
 */
public class OrderBO extends CommonBO {
    private static final long serialVersionUID = 1L;

    /* 订单ID */
    private String id;
    /* 会员ID */
    private String memberId;
    /* 资金账号ID */
    private String brokerAccountId;
    /* 证券代码 */
    private String code;
    /* 委托类型（必填） */
    private Integer orderType;
    /* 下单数量（股 / 手 / 元 / %）（必填） */
    private Integer volume;
    /* 下单价格（必填） */
    private BigDecimal price;
    /* 创建人ID */
    private String createId;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getMemberId() {
        return memberId;
    }

    public void setMemberId(String memberId) {
        this.memberId = memberId;
    }

    public String getBrokerAccountId() {
        return brokerAccountId;
    }

    public void setBrokerAccountId(String brokerAccountId) {
        this.brokerAccountId = brokerAccountId;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Integer getOrderType() {
        return orderType;
    }

    public void setOrderType(Integer orderType) {
        this.orderType = orderType;
    }

    public Integer getVolume() {
        return volume;
    }

    public void setVolume(Integer volume) {
        this.volume = volume;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    @Override
    public String getCreateId() {
        return createId;
    }

    @Override
    public void setCreateId(String createId) {
        this.createId = createId;
    }
}
